/**
 * 
 */
package com.topu.db;

/**
 * @author popofish
 * 
 */
public class PageSet implements IPageSet {

	private int current = -1;
	private int start = -1;
	private int end = -1;
	private int pageSize = 10;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.topu.db.IPageSet#getCurrent()
	 */
	@Override
	public int getCurrent() {
		return this.current;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.topu.db.IPageSet#getEnd()
	 */
	@Override
	public int getEnd() {
		return this.end;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.topu.db.IPageSet#getPageSize()
	 */
	@Override
	public int getPageSize() {
		return this.pageSize;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.topu.db.IPageSet#getStart()
	 */
	@Override
	public int getStart() {
		return this.start;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.topu.db.IPageSet#setCurrent(int)
	 */
	@Override
	public void setCurrent(int current) {
		this.current = current;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.topu.db.IPageSet#setEnd(int)
	 */
	@Override
	public void setEnd(int end) {
		this.end = end;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.topu.db.IPageSet#setPageSize(int)
	 */
	@Override
	public void setPageSize(int size) {
		this.pageSize = size;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.topu.db.IPageSet#setStart(int)
	 */
	@Override
	public void setStart(int start) {
		this.start = start;
	}

}
